PREVIEW: Today, you'll be writing a program that uses a list and a loops to help Sophia choose a pet!

  • Click Run to see an example of the project you'll be making today!
  • Which line of code do you think creates the list? Which part of the code causes commands to be repeated for every item in the list?
  • Click Submit and Next to continue.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)